package com.dayuanit.dy17.atm.atmbackoffice.service;

import com.dayuanit.dy17.atm.atmbackoffice.dto.PowerDTO;
import com.dayuanit.dy17.atm.atmbackoffice.entity.Power;
import com.dayuanit.dy17.atm.atmbackoffice.vo.PowerRequestVO;

import java.util.List;
import java.util.Set;

public interface IPowerService {
    void addPower(PowerRequestVO powerRequestVO);

    List<Power> listPower(int level);

    List<PowerDTO> listMenu();

    void addRolePower(long roleId, Set<Long> powerIds);
}
